package com.jacky.dropdownmenu.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Jacky on 2017/2/23.
 */

public class DropdownGroup implements Serializable {
    public DropdownGroup() {
    }

    public DropdownGroup(String title) {
        this.title = title;
    }

    public DropdownGroup(String title, boolean selected) {
        this.title = title;
        this.selected = selected;
    }
    public DropdownGroup(List<DropdownChild> child, boolean selected, String title) {
        this.child = child;
        this.selected = selected;
        this.title = title;
    }

    /**
     * 标题
     */
    private String title;
    /**
     * 是否选中
     */
    private boolean selected;

    private List<DropdownChild>  child;

    public List<DropdownChild> getChild() {
        return child;
    }

    public void setChild(List<DropdownChild> child) {
        this.child = child;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

}
